﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MM.Common.Base
{
    public sealed class Password
    {
        // Methods
        public string Decrypting(string key)
        {
            DataCrypto crypto = new DataCrypto();
            return crypto.Decrypting(key, SystemInfo.OrgHeadName + "ZB.28772");
        }

        public string Encrypting(string password)
        {
            DataCrypto crypto = new DataCrypto();
            return crypto.Encrypting(password, SystemInfo.OrgHeadName + "ZB.28772");
        }
    }
}
